package ee.nlp.evn.entities;

import java.util.ArrayList;
import java.util.List;

public class Text {
	private String title;
	private List<Sentence> sentences;
	
	public Text() {
		title = "unknown";
		sentences = new ArrayList<Sentence>();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<Sentence> getSentences() {
		return sentences;
	}

	public void addSentence(Sentence sentence) {
		this.sentences.add(sentence);
	}
	
}
